<!doctype html>
<html lang="en">
  <head>
    <title></title>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="index.js"></script>

    <script type="module">
      import createExampleWrapper from "@cube-dev/example-wrapper";

      createExampleWrapper({
        title: "ClickHouse vs. MySQL, built with Cube and using multi-tenancy",
        text: `
          <p>
            This sample data app displays airline data from the Bureau of Transportation Statistics by comparing the performance between MySQL and ClickHouse.
          </p>
          <p>Changing the Data Source will edit the payload of the JWT token to configure which data source to fetch data from.</p>
          <div>You can decode the token at <a href='https://jwt.io' target='_blank' rel='noreferrer'>jwt.io</a></div>
        `,
      });
    </script>
  </body>
</html>